When calling MPRemoteCall
, you must designate an application-defined function to handle any calls to nonreentrant functions (such as Mac OS system software calls). For example, this is how you would declare the application-defined function if you were to name the function MyRemoteProcedure
:
void* MyRemoteProcedure (void *parameter);
parameter
A pointer to any information you want to pass to MyRemoteProcedure
. For example, parameter
might point to a parameter list that MyRemoteProcedure
could then pass to a Mac OS system software function.
DISCUSSION
Note that your application-defined function must be PowerPC native code, since Multiprocessing Services tasks cannot call 68K code.